package com.data4.supplier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.data4.feignapi.dto.BrandDTO;
import com.data4.feignapi.dto.Result;
import com.data4.feignapi.entity.Brand;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Forever
 * @since 2024-12-11
 */
public interface BrandService extends IService<Brand> {

    Result addBrand(BrandDTO brandDTO,Integer supplierId);

    Result updateBrand(BrandDTO brand, Integer brandId,Integer supplierId);


    Result getBrandByTime(Integer current, Integer num,Integer supplierId);

    Result getBrandByNameLike(String brandName, Integer current, Integer num,Integer supplierId);

    Boolean removeBrands(List<Long> brandIdList, int parseInt);
}
